import cn.hutool.core.io.FileUtil;
import haoi.dt.MainTest;
import haoi.dt.thread.AutoInviteCodeThread;
import haoi.dt.utils.NumberUtil;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;

import java.io.File;
import java.io.IOException;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.List;

public class AutoInviteCodeRunner {
//    private static List<String> domainNames = Arrays.asList(new String[]{"https://www .02009j.com","https://www.140477.com"});
    //这里是网址 可以填写多个
    private static List<String> domainNames = Arrays.asList(new String[]{"https://www.140477.com"});
    public static void main(String[] args){
        for(int i=0 ; i<domainNames.size() ; i++ ){
            AutoInviteCodeThread runner = new AutoInviteCodeThread(domainNames.get(i));
            runner.start();
        }
    }
}
